package com.example.demo.dao;

import com.example.demo.pojo.Order_main;
import com.example.demo.pojo.Order_mainExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Order_mainMapper {
    int countByExample(Order_mainExample example);

    int deleteByExample(Order_mainExample example);

    int deleteByPrimaryKey(String orderId);

    int insert(Order_main record);

    int insertSelective(Order_main record);

    List<Order_main> selectByExample(Order_mainExample example);

    Order_main selectByPrimaryKey(String orderId);

    int updateByExampleSelective(@Param("record") Order_main record, @Param("example") Order_mainExample example);

    int updateByExample(@Param("record") Order_main record, @Param("example") Order_mainExample example);

    int updateByPrimaryKeySelective(Order_main record);

    int updateByPrimaryKey(Order_main record);
}